/**
 * @file serverthread.h
 * @brief ServerThread class definition
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 3 of the License.
 *
 * @author VestniK (Sergey N.Vidyuk) sir.vestnik@gmail.com
 * @date 14 Mar 2010
 */
#ifndef MJN_SERVERTHREAD_H
#define MJN_SERVERTHREAD_H

#include <QtCore/QThread>

namespace mjn {

    class ServerThread : public QThread {
        Q_OBJECT
        public:
            explicit ServerThread(QObject *parent=0):QThread(parent) {
                // Set thread name to make logs a bit more beautiful
                setObjectName(tr("server"));
            };
            virtual ~ServerThread();

        protected:
            virtual void run();
    };

}

#endif // MJN_SERVERTHREAD_H
